import 'package:dio/dio.dart';

Future getHitokoto() async {
  try {
    Response response = await Dio().get("https://v1.hitokoto.cn/");
    return response;
  } catch (e) {
    print(e);
  }
}

Future getMeiRiYiWen() async {
  try {
    Response response =
        await Dio().get("https://interface.meiriyiwen.com/article/random");
    return response;
  } catch (e) {
    print(e);
  }
}
